package com.himalayan.bear.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author zjk
 * @since 2019-04-25
 */
@TableName("yp_user_file")
public class UserFile implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String userId;

    private String folderId;

    private String fileId;

    private String orgFileName;

    private String code;

    private Integer isPublic;

    private Integer downLoadCount;

    private Long preTime;

    private Integer deleteFlag;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getOrgFileName() {
        return orgFileName;
    }

    public void setOrgFileName(String orgFileName) {
        this.orgFileName = orgFileName;
    }

    public Integer getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(Integer isPublic) {
        this.isPublic = isPublic;
    }

    public Long getPreTime() {
        return preTime;
    }

    public void setPreTime(Long preTime) {
        this.preTime = preTime;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDownLoadCount() {
        return downLoadCount;
    }

    public void setDownLoadCount(Integer downLoadCount) {
        this.downLoadCount = downLoadCount;
    }

    public String getFolderId() {
        return folderId;
    }

    public void setFolderId(String folderId) {
        this.folderId = folderId;
    }

    @Override
    public String toString() {
        return "UserFile{" +
                "id=" + id +
                ", userId=" + userId +
                ", fileId=" + fileId +
                ", folderId=" + folderId +
                ", orgFileName=" + orgFileName +
                ", isPublic=" + isPublic +
                ", preTime=" + preTime +
                ", deleteFlag=" + deleteFlag +
                "}";
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
